Skip to content

add a nfm deemphasis filter for 12kHz#48

Open
jketterl wants to merge 1 commit intoha7ilm:masterfrom
jketterl:48khz_filter
Open

add a nfm deemphasis filter for 12kHz#48
jketterl wants to merge 1 commit intoha7ilm:masterfrom
jketterl:48khz_filter

Conversation

@jketterl
Copy link
Copy Markdown

@jketterl jketterl commented Nov 1, 2019

While working on openwebrx, I made the dsp output sample rate adapt to what is requested from the client (it was fixed to 11025 before). When clients with a 48kHz soundcard connect, this results in an output sample rate of 12000, which is not supported by the deemphasis_nfm_ff subcommand.

I went into the source and tried to build a new filter with the given octave code, which did not work on my end. I have tried to fix it to the best of my knowledge, and used it to build the new filter.

I also rebuilt the existing filters, the results were a little confusing: The 11025 came out exactly the same, while the rest didn't.

The result however seems to work fine, at least as far as I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant